package service;

import java.util.Date;
import java.util.List;

import pojo.Order;
import pojo.OrderItem;

public interface OrderService {
	
	
	public List<Order> findOrderByStatusByTime(String status, Date date);
	public List<Order> autoConfirm();
	public List<Order> findOrderByStatus(String status,String mId);
	public Order updateOrderStatus(String id, String status,String mId);
	public List<OrderItem> findOrderItem(String id);
	public List<Order> findAll(String mId); 
	public Order findByprocessNumber(String processNumber);
	public List<Order> findByMerchantId(String mId);
	
}
